//package com.dkts.oil.web.controller;
//
//import com.alibaba.fastjson.JSONObject;
//import com.dkts.oil.service.impl.OilAddressServiceImpl;
//import com.dkts.oil.web.vo.request.OilCustomTankRequest;
//import com.dkts.oil.web.vo.request.OilStorageTankRequest;
//import com.dkts.oil.web.vo.response.Result;
//import com.dkts.oil.web.vo.response.subReq.OilStorageAddress;
//import io.swagger.v3.oas.annotations.Operation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
///**
// * <p>
// *  3.1 转运站 址地相关
// * </p>
// *
// * @author heguanglong
// * @since 2025-04-10
// */
//@RestController
//@RequestMapping("/oil/address")
//@Slf4j
//public class OilAddressController {
//    @Autowired
//    private OilAddressServiceImpl oilAddressService;
//    @Operation(description = "3.1 转运站选址  3.2 储备库选址 相同的功能  3.3 消耗库选址 在机场外")
//    @PostMapping("/storage")
//    public Result<List<OilStorageAddress>> oilStorage(@Validated @RequestBody OilStorageTankRequest request) throws Exception {
//        log.info("oilStorage request:{}", JSONObject.toJSONString(request));
//        return Result.success(oilAddressService.oilStorage(request));
//    }
//
//    @Operation(description = "自定义选址区域（3.3 消耗库选址 在机场内）3.4 外场供油中心选址")
//    @PostMapping("/custom")
//    public Result<List<OilStorageAddress>> custom(@Validated @RequestBody OilCustomTankRequest request) throws Exception {
//        log.info("custom request:{}", JSONObject.toJSONString(request));
//        return Result.success(oilAddressService.custom(request));
//    }
//}
